@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

//  组件默认样式修改
#app {
  .sidebar-container{
    background-color: #fff;
    box-shadow: 1px 0px 10px #ece7e7;
    .sidebar-logo-container{
      background: #fff;
      .sidebar-title{
        color: #000;
      }
    }
    .el-scrollbar{
      .el-menu{
            background-color: #fff  !important;
            list-style:none;
          a{
          background-color: #fff  !important;
          li{
            background-color: #fff !important;
            color: #889; 
            list-style:none;
          }
          // li:focus{
            // background-color:#ebeffe !important;
            // color: #000 !important;
          // }
          li.is-active {
            background-color:#ebeffe !important;
            color: menuActiveText !important;
          }
        }
      }
    }
  }
  // table 数据表
  .el-table {
    .el-table__header {
      thead {
        tr {
          th {
            background-color: #ebeffe;
          }
        }
      }
    }
    .el-table__body {
      .el-table__row:nth-of-type(even) {
        background-color: #f2f4fc;
      }
    }
  }

  // 登录页输入框
  .login-container .el-input input{
    color: #000;
    caret-color: #000;
  }
}
